package com.ning.parking.mapper;

import com.ning.parking.domain.ParkingLotMonthlyApply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ning.parking.domain.dto.ParkingLotMonthlyApplyPageDto;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * @Entity com.ning.parking.domain.ParkingLotMonthlyApply
 */
public interface ParkingLotMonthlyApplyMapper extends BaseMapper<ParkingLotMonthlyApply> {

    List<ParkingLotMonthlyApply> selectMonthlyApplys(@Param("carLicense") String carLicense,@Param("entTime")  Date entTime,@Param("parkingLotId") Long parkingLotId);

    List<ParkingLotMonthlyApply> selectMonthly(@Param("carLicense") String carLicense,@Param("entTime")  Date entTime,@Param("parkingLotId") Long parkingLotId);

    void saveZeroder(ParkingLotMonthlyApplyPageDto applyEntity);

}




